home *** CD-ROM | disk | FTP | other *** search
/ Developer Source 4 / developer source - volume 4.iso / dobbs / oct94 / gill1f5.gif < prev    next >
Graphics Interchange Format  |  1996-06-11  |  92KB  |  581x522  |  4-bit (16 colors)
Labels: text | screenshot | number | font | parallel | rectangle | line
OCR: s1.1 (a) struct ( BE! 11 12 :13 14 :15 16 17 18 00 01 02 03 04 05 06 07 double i: // 0x1112131415161718 ) 81; LE 11 12 :13 14 15 16 17 18 07 06 : 05 04 : 03 02 01 00 S1.1 s2.i s2.j (b) struct { // 0x11121314 BE 11 12 :13 14 15 16 17 18 int 1; 00 01 : 02 03 04 05 : 06 07 int j: // 0x15161718 } $2; LE 15 16 17 18 11 12 13 14 07 06 :05 04 03 02 : 01 00 s2.j s2.i $3.1 .* s3.j $3.k $3. (C) struct { 11 12 13 14 15 16 17 18 short i; // 0x1112 BE 00 01 02 03 04 05 06 short j; // 0x1314 short k; // 0x1516 7/ 0x1718 LE 17 18 15 16 07 06 05 04 13 14 11 12 short 1 ;. 03 02 0100 s3.1 s3.k s3.j s3.i Figure 5: Comparing halfword, word, and doubleword integers as members of a data structure in Big- and Little-endian form.